// AND && - OR || (logical operators)

let age1 = 19;
let income = 5_0000;

if (age1 >= 18 && income >= 3_0000) {
  console.log("You are eligible for loan");
}

const score = 76;
const attendance = 90;

if (score >= 80 || attendance >= 95) {
  console.log("You pass the course");
} else {
  console.log("You fail the  course");
}

const x1 = 10;
const y = 20;
const z = 30;

if ((x1 > y && x1 > z) || (y > x1 && y > z)) {
  console.log("Either x or y is the largest number");
} else {
  console.log("Neither x nor y is the largest number");
}
